<? include('layer/head.html'); ?>

<body class="ly13 live_list_pg">
	<? include('layer/topnav.html'); ?>
	<? include('layer/header.html'); ?>
	<div class="contenter clrfix">
    	<div class="aside_left">
        	<a href="?action=livelist" class="hot_live_panel"></a>
        	<div class="activity_panel">
            	<div class="hd clrfix">
                	<div class="til"><span class="icon_Events pngFix"></span>精彩活动</div>
                	<div class="more"><a href="?action=ActivityList">更多…</a></div>
                </div>
            	<div class="bd">
                	<ul>
                    <!--------活动Begin--------->
                    	<?php if($activity){ foreach($activity as $val){?>
                    
                    	<li><a href="<?php if($val['link'] == ''){echo '?action=ActivityDetail&id='.$val['act_id'];}else{echo $val['link'];}?>" target="_blank"><?php echo $val['act_name'];?></a></li>
                        <?php }}?>
                    <!--------活动End--------->
                    </ul>
                </div>
            </div>
        
        	<!--<div class="help_panel">
            	<div class="hd clrfix">
                	<div class="til">帮助中心</div>
                	<div class="more"><a href="#">更多…</a></div>
                </div>
            	<div class="bd">
                	<ul>
                    	<li><a href="#">常见问题</a></li>
                    	<li><a href="#">投诉建议</a></li>
                    	<li><a href="#">申请签约主播</a></li>
                    	<li><a href="#">投诉建议</a></li>
                    	<li><a href="#">申请签约主播</a></li>
                    </ul>
                </div>
            </div>-->
        
        	<div class="service_panel service_New">
            	<div class="hd clrfix">
                	<div class="til"><span class="icon_contact pngFix"></span>联系我们</div>
                </div>
            	<div class="bd mpt a_qqservice">
                	<dl>
                    	<!--dt class="e_service_hanle" tab="1">• <a href="javascript:;">在线客服</a> <a class="icon_reduce" id="service_a_tab1" href="javascript:;"></a></dt-->
                    	<dt class="e_service_hanle" tab="1"><span>• 联系客服</span> <ul>
                            	<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1761456592&site=qq&menu=yes"><img border="0" SRC="http://wpa.qq.com/pa?p=1:1761456592:1" alt="点击这里给我发消息"></a></li>
                                <li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=121585436&site=qq&menu=yes"><img border="0" SRC="http://wpa.qq.com/pa?p=1:2377639437:1" alt="点击这里给我发消息"></a></li>
                            </ul></dt>
                    	<!--dt class="e_service_hanle" tab="2">• <a href="javascript:;">招聘主播</a> <a class="icon_reduce" id="service_a_tab2" href="javascript:;"></a></dt-->
                    	<dt class="e_service_hanle" tab="2"><span>• 主播招聘</span> <ul>
                            	<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2242093032&site=qq&menu=yes"><img border="0" SRC="http://wpa.qq.com/pa?p=1:2242093032:1" alt="点击这里给我发消息"></a></li>
                            	<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1485046980&site=qq&menu=yes"><img border="0" SRC="http://wpa.qq.com/pa?p=1:1485046980:1" alt="点击这里给我发消息"></a></li>
                            </ul></dt>
                    	<!--dt class="e_service_hanle" tab="3">• <a href="javascript:;">故障排除</a> <a class="icon_reduce" id="service_a_tab3" href="javascript:;"></a></dt-->
                    	<dt class="e_service_hanle" tab="3"><span>• 星探招募</span> <ul>
                            	<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2242093032&site=qq&menu=yes"><img border="0" SRC="http://wpa.qq.com/pa?p=1:2242093032:1" alt="点击这里给我发消息"></a></li>
                            	<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1485046980&site=qq&menu=yes"><img border="0" SRC="http://wpa.qq.com/pa?p=1:1485046980:1" alt="点击这里给我发消息"></a></li>
                            </ul></dt>
                        
                        <dt class="e_service_hanle" tab="3"><span>• 家族招募</span> <ul>
                            	<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2242093032&site=qq&menu=yes"><img border="0" SRC="http://wpa.qq.com/pa?p=1:2242093032:1" alt="点击这里给我发消息"></a></li>
                            	<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1485046980&site=qq&menu=yes"><img border="0" SRC="http://wpa.qq.com/pa?p=1:1485046980:1" alt="点击这里给我发消息"></a></li>
                            </ul></dt>
                        
                        <dt class="e_service_hanle" tab="3"><span>• 市场合作</span> <ul>
                            	<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1687082142&site=qq&menu=yes"><img border="0" SRC="http://wpa.qq.com/pa?p=1:1687082142:1" alt="点击这里给我发消息"></a></li>
                            </ul></dt>
                    </dl>
                </div>
            </div>
        </div>
    	<div class="live_list article">
            <div class="wrap mpt a_ajaxroom" position="sub">
                <div class="hd clrfix">
                    <div class="til">直播大厅</div>
                    <ul class="tab tab_style_1 clrfix">
                    	<li><a href="javascript:;" tab_bd="roomnum" class="e_tab_hanle <?php if($chooseType == 'roomnum') echo 'on';?>">观众人数</a></li>
                    	<li>|<a href="javascript:;" tab_bd="credit" class="e_tab_hanle <?php if($chooseType == 'credit') echo 'on';?>">主播等级</a></li>
                    	<li>|<a href="javascript:;" tab_bd="jointime" class="e_tab_hanle <?php if($chooseType == 'jointime') echo 'on';?>">新人美眉</a></li>
                    </ul>
                </div>
            	<ul class="bd clrfix" id="common_room_list">
                	<?php if($toproom){ foreach($toproom as $key=>$val){?>
                    	<li class="item">
                            <div class="photo">
                                <a href="<?php echo $val['rid'];?>"><img src="<?php echo $val['roomimg'];?>"></a>
                                <?php if($val['openstatic'] == 1) {?><div class="liveing"></div><?php }?>
                                <div class="visit_num_bg"></div>
                                <div class="visit_num"><?php echo $val['roomcount'];?>人观看</div>
                            </div>
                            <div class="nickname"><img src="<?= STATIC_HTTP ?>img/blank.gif" class="icon_live_level icon_live_level_9" > <a href="#"><?php echo $val['nickname'];?></a></div>
                            <div class="live_time"><?php if($val['openstatic'] == 1){?>开播时长 <?php echo intval((time()-$val['opentime'])/(60*1000));?>分钟<?php }else {?>当前无直播<?php }?></div>
                        </li>
                    <?php }}?>
                	
                	
                </ul>
            </div>
        </div>
    	
    </div>
	<? include('layer/footer.html'); ?>
<? include('layer/foot.html'); ?>
<? include('layer/jsstart.html'); ?>
